package com.uhb.base.exception;

import org.springframework.validation.FieldError;

public class RequestParamInvalidJsonException extends RuntimeException {
	private static final long serialVersionUID = -5802948531144317023L;
	private FieldError fieldError;

	public RequestParamInvalidJsonException(FieldError fieldError) {
		this.fieldError = fieldError;
	}

	public RequestParamInvalidJsonException(String error) {
		super(error);
	}

	public FieldError getFieldError() {
		return fieldError;
	}

	public void setFieldError(FieldError fieldError) {
		this.fieldError = fieldError;
	}
}
